package com.ld.producer.serializer;

/**
 * @author ld
 * 创建一个 person 类
 */
public class Person {

    //名称
    private String name;

    //年龄
    private int age;

    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
